
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 RmsAlertRuleConfig 分页列表
*/
export function getRmsAlertRuleConfigPagination(data: any) {
  return axios.get(`${context}/rmsAlertRuleConfig/pagination`, { params: data });
}


/**
 * 获取 RmsAlertRuleConfig 所有数据
*/
export function getRmsAlertRuleConfigAllList(data: any) {
  return axios.get(`${context}/rmsAlertRuleConfig/all`, { params: data });
}


/**
 * 获取 RmsAlertRuleConfig 详情
*/
export function getRmsAlertRuleConfigDetailById(id: any) {
  return axios.get(`${context}/rmsAlertRuleConfig/${id}`, { params:{id} });
}


/**
 * 新增 RmsAlertRuleConfig
*/
export function addRmsAlertRuleConfig(data: any) {
  return axios.post(`${context}/rmsAlertRuleConfig`, data);
}

/**
 * 修改 RmsAlertRuleConfig
*/
export function updateRmsAlertRuleConfig(data: any) {
  return axios.put(`${context}/rmsAlertRuleConfig`, data);
}

/**
 * 删除 RmsAlertRuleConfig
*/
export function batchRemoveRmsAlertRuleConfig(data: any) {
  return axios.post(`${context}/rmsAlertRuleConfig/batchRemove`, data);
}

    